<html>
<head><meta charset="utf-8"><title>deny(warnings) in doctests? · general · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/index.html">general</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/deny(warnings).20in.20doctests.3F.html">deny(warnings) in doctests?</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="166515810"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/deny%28warnings%29%20in%20doctests%3F/near/166515810" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> RalfJ <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/deny(warnings).20in.20doctests.3F.html#166515810">(May 25 2019 at 07:40)</a>:</h4>
<p>Any idea why I had to fix a warning in a doctest to make <code>./x.py --stage 0 test src/libcore --test-args mem</code> pass locally, even though CI seems to be fine with it?</p>



<a name="166601323"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/deny%28warnings%29%20in%20doctests%3F/near/166601323" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/deny(warnings).20in.20doctests.3F.html#166601323">(May 27 2019 at 01:32)</a>:</h4>
<p>I'm not sure we deny warnings, but it might also be that the beta compiler warns and master doesn't</p>



<a name="166616463"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/deny%28warnings%29%20in%20doctests%3F/near/166616463" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> RalfJ <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/deny(warnings).20in.20doctests.3F.html#166616463">(May 27 2019 at 08:03)</a>:</h4>
<p>well it calls out a <code>deny(warnings)</code> in the error</p>



<a name="166616495"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/deny%28warnings%29%20in%20doctests%3F/near/166616495" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> RalfJ <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/deny(warnings).20in.20doctests.3F.html#166616495">(May 27 2019 at 08:04)</a>:</h4>
<p>but anyway this is <a href="https://github.com/rust-lang/rust/pull/61199" target="_blank" title="https://github.com/rust-lang/rust/pull/61199">https://github.com/rust-lang/rust/pull/61199</a></p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>